#ifndef __CODE__
#define __CODE__

#define CODE_SUCCESS          0
#define CODE_ERROR            -1
#define CODE_MALLOC_FAILED    -2
#define CODE_INVALID_PARAM    -3
#define CODE_INDEX_OUT_RANGE  -4
#define CODE_NOT_INIT         -5
#define CODE_NOT_MATCH        -6
#define CODE_NOT_FOUND        -7
#define CODE_BUFFER_FULL      -8

#define CODE_OPEN_FAILED      -11
#define CODE_INSUFFICIENT     -12

#endif // __CODE__
